package com.deyou.util;

/**
 * Created by yangyuancheng on 2017/5/12.
 */

public class Urls {
    public static final String HOTEL_API_KEY = "72b63413-6eef-4b3d-b7d6-9474c73168ee";
    public static final String HOTEL_API_SECRET = "373668be6c594358a2f9eae9bb2a76e6";
    public final static String BaseRootUrl = "http://101.37.81.225:8080/";
    public final static String BaseUrl = BaseRootUrl + "rest/";
    public final static String ImageBaseUrl = BaseRootUrl + "picupload/";
    public final static String UserImageBaseUrl = BaseRootUrl + "picupload/user/";
    public final static String HouseResourceImageBaseUrl = BaseRootUrl + "picupload/pic/";
    // regist
    public final static String register = BaseUrl + "user/register.do";
    // login
    public final static String login = BaseUrl + "user/login.do";
    // phone-auth-code
    public final static String sencodes = BaseUrl + "user/sencodes.do";
    // mail-auth-code
    public final static String sendemail = BaseUrl + "user/sendemail.do";
    // forget-pwd
    public final static String updateuserpassword = BaseUrl + "user/updateuserpassword.do";
    // 获取首页数据
    public final static String getHomeData = BaseUrl + "houseresource/gethomedata";
    // 我的收藏
    public final static String getMyCollection = BaseUrl + "collection/gethouseresourcecollectionlist.do";
    // 订单列表
    public final static String getOrderList = BaseUrl + "order/getorderlist.do";
    // 房屋类型列表
    public final static String getHouseTypeList = BaseUrl + "dictionary/gethoteltypelist.do";
    // 城市地区
    public final static String getCityList = BaseUrl + "region/getlastregion.do";
    // 房源搜索城市列表
    public final static String getRegionList = BaseUrl + "region/getregionlist.do";
    // 配套设施
    public final static String getFacilities = BaseUrl + "dictionary/gethoteltypealllist.do";
    // 添加民宿
    public final static String addHouseResource = BaseUrl + "houseresource/addhouseresource.do";
    // 搜索民宿
    public final static String searchDataByKey = BaseUrl + "houseresource/suggest.do";
    // 上传图片
    public final static String uploadImg = BaseUrl + "upload/fileuploadImages.do";
    // 上传单张图片
    public final static String uploadSingleImg = BaseUrl + "upload/uploadimage.do";
    // 查询房源
    public final static String searchHouseResource = BaseUrl + "houseresource/searchhouseresource.do";
    // 实名认证
    public final static String uploadVerifyData = BaseUrl + "user/updateuserauthentication.do";
    // 获取用户信息
    public final static String getUserInfo = BaseUrl + "user/getuserbyuserid.do";
    // 修改用户信息
    public final static String updateUserInfo = BaseUrl + "user/updateuser.do";
    // 添加收藏
    public final static String addCollection = BaseUrl + "collection/addhouseresourcecollection.do";
    // 删除收藏
    public final static String deleteCollection = BaseUrl + "collection/deletehouseresourcecollection.do";
    // 获取所有城市数据
    public final static String getAllCity = BaseUrl + "region/getregionlistall.do";
    // 查询房源
    public final static String getSearchHouseResult = BaseUrl + "houseresource/searchhouseresource.do";
    // 查询城市poi数据
    public final static String getCityPoi = BaseUrl + "houseresource/getpoi.do";
    // 根据id查询房源
    public final static String getHouseResourceDetail = BaseUrl + "houseresource/searchhouseresourcedetail.do";
    // 根据id查询房东主页
    public final static String getLandLoadHomePage = BaseUrl + "user/getlandlord.do";
    // 提交支付
    public final static String createPayment = BaseUrl + "v2/createpayment.do";
    // 创建订单
    public final static String createOrder = BaseUrl + "order/addorder.do";
    // 根据订单id获取订单信息
    public final static String getOrderDetail = BaseUrl + "order/getorder.do";
    // 取消订单
    public final static String cancelOrder = BaseUrl + "order/cancelorder.do";
    // 意见反馈
    public final static String addFeedBack = BaseUrl + "order/addfeedback.do";
    // 支付方式
    public final static String addMyPayment = BaseUrl + "user/addpaymentmethod.do";
}
